package org.colafries.metadata.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author colafries
 * @version v1.0
 * @ClassName DriverTypeEnum
 * @Description
 * @date Created in 2024/3/20
 **/
@Getter
@AllArgsConstructor
public enum DriverTypeEnum {
    MYSQL(1,"mysql"),
    ES(2,"elasticsearch"),
    STARROCKS(3,"starrocks"),
    CLICKHOUSE(4,"clickhouse"),
    DAMENG(5,"dameng");
    @EnumValue
    private final Integer code;
    @JsonValue
    private final String value;
}
